package com.base.commonlib.bean;

/**
 * Created by zhangzhihao on 2018/2/26.
 */
public class ChannelBean {
    private String name;
    private int spanSize;
    private int layoutId;
    private int sort;
    private boolean isRecommend;
    private int currentPosition;
    private String Id;
    private int saveSize;
    private String fistSaveName;



    public ChannelBean(String id,String name, int spanSize, int layoutId, boolean isRecommend,int type,int saveSize,String fistSaveName) {
        this.name = name;
        this.spanSize = spanSize;
        this.layoutId = layoutId;
        this.isRecommend = isRecommend;
        this.sort = type;
        this.Id = id;
        this.saveSize = saveSize;
        this.fistSaveName = fistSaveName;
    }
    public ChannelBean(String id,String name, int spanSize, int layoutId, boolean isRecommend,int saveSize,String fistSaveName) {
        this.name = name;
        this.spanSize = spanSize;
        this.layoutId = layoutId;
        this.isRecommend = isRecommend;
        this.Id = id;
        this.saveSize = saveSize;
        this.fistSaveName = fistSaveName;
    }

    public int getSaveSize() {
        return saveSize;
    }

    public void setSaveSize(int saveSize) {
        this.saveSize = saveSize;
    }

    public String getFistSaveName() {
        return fistSaveName;
    }

    public void setFistSaveName(String fistSaveName) {
        this.fistSaveName = fistSaveName;
    }

    public ChannelBean(){}

    public String getId() {
        return Id;
    }

    public void setId(String id) {
        Id = id;
    }

    public int getCurrentPosition() {
        return currentPosition;
    }

    public void setCurrentPosition(int currentPosition) {
        this.currentPosition = currentPosition;
    }

    public int getSort() {
        return sort;
    }

    public void setSort(int sort) {
        this.sort = sort;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getSpanSize() {
        return spanSize;
    }

    public void setSpanSize(int spanSize) {
        this.spanSize = spanSize;
    }

    public int getLayoutId() {
        return layoutId;
    }

    public void setLayoutId(int layoutId) {
        this.layoutId = layoutId;
    }

    public boolean isRecommend() {
        return isRecommend;
    }

    public void setRecommend(boolean recommend) {
        isRecommend = recommend;
    }

    public boolean getIsRecommend() {
        return this.isRecommend;
    }

    public void setIsRecommend(boolean isRecommend) {
        this.isRecommend = isRecommend;
    }
}
